﻿
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Power.Models
{
    /// <summary>
    /// 检测记录
    /// </summary>
    public class DetectRecordSearchEntity:BaseModel
    {
        public int ID { get; set; }

        /// <summary>
        /// 项目名称
        /// </summary>
        public string ProjectName { get; set; }
        /// <summary>
        /// 片区
        /// </summary>
        public string Area { get; set; }
        /// <summary>
        /// 区块
        /// </summary>
        public string Block { get; set; }
        /// <summary>
        /// 工点
        /// </summary>
        public string WorkField { get; set; }

        /// <summary>
        /// 批次
        /// </summary>
        public string Batch { get; set; }

        public string PipBuildDateS { get; set; }
        public string PipBuildDateE { get; set; }
        public string PipDiameterS { get; set; }
        public string PipDiameterE { get; set; }
        public string PipLengthS { get; set; }
        public string PipLengthE { get; set; }
        public string PipBeginBuriedDepthS { get; set; }
        public string PipBeginBuriedDepthE { get; set; }
        public string PipEndBuriedDepthS { get; set; }
        public string PipEndBuriedDepthE { get; set; }
        public string DetectLengthS { get; set; }
        public string DetectLengthE { get; set; }
        public string DefectStartPosS { get; set; }
        public string DefectStartPosE { get; set; }
        public string DefectEndPosS { get; set; }
        public string DefectEndPosE { get; set; }
        public string DefectLevelS { get; set; }
        public string DefectLevelE { get; set; }
        public string DetectDateS { get; set; }
        public string DetectDateE { get; set; }
        public string DetectBatchS { get; set; }
        public string DetectBatchE { get; set; }
        public string DetectWorkGroupS { get; set; }
        public string DetectWorkGroupE { get; set; }

        // 管段信息
        private PipEntity _pip;
        public PipEntity Pip
        {
            get { return _pip; }
            set { _pip = value; }
        }

        // 起始井信息
        private WellEntity _startWell;
        public WellEntity StartWell
        {
            get { return _startWell; }
            set { _startWell = value; }
        }

        // 终止井信息
        private WellEntity _endWell;
        public WellEntity EndWell
        {
            get { return _endWell; }
            set { _endWell = value; }
        }

        // 检测信息
        private DetectEntity _detect;
        public DetectEntity Detect
        {
            get { return _detect; }
            set { _detect = value; }
        }

        // 缺陷信息
        private DefectEntity _defect;
        public DefectEntity Defect
        {
            get { return _defect; }
            set { _defect = value; }
        }

        private List<SelectListItem> startWellTypeList;
        public List<SelectListItem> StartWellTypeList
        {
            get
            {
                return startWellTypeList;
            }
            set
            {
                startWellTypeList = value;
                RaisePropertyChanged();
            }
        }

        public List<SelectListItem> StartWellFuncTypeList
        {
            get
            {
                return startWellFuncTypeList;
            }
            set
            {
                startWellFuncTypeList = value;
                RaisePropertyChanged();
            }
        }

        public List<SelectListItem> StartWellMatList
        {
            get
            {
                return startWellMatList;
            }
            set
            {
                startWellMatList = value;
                RaisePropertyChanged();
            }
        }
        public List<SelectListItem> StartWellProblemList
        {
            get
            {
                return startWellProblemList;
            }
            set
            {
                startWellProblemList = value;
                RaisePropertyChanged();
            }
        }
        public List<SelectListItem> EndWellTypeList
        {
            get
            {
                return endWellTypeList;
            }
            set
            {
                endWellTypeList = value;
                RaisePropertyChanged();
            }
        }
        public List<SelectListItem> EndWellFuncTypeList
        {
            get
            {
                return endWellFuncTypeList;
            }
            set
            {
                endWellFuncTypeList = value;
                RaisePropertyChanged();
            }
        }
        public List<SelectListItem> EndWellMatList
        {
            get
            {
                return endWellMatList;
            }
            set
            {
                endWellMatList = value;
                RaisePropertyChanged();
            }
        }
        public List<SelectListItem> EndWellProblemList
        {
            get
            {
                return endWellProblemList;
            }
            set
            {
                endWellProblemList = value;
                RaisePropertyChanged();
            }
        }
        public List<SelectListItem> PipTypeList
        {
            get
            {
                return pipTypeList;
            }
            set
            {
                pipTypeList = value;
                RaisePropertyChanged();
            }
        }
        public List<SelectListItem> PipMatList
        {
            get
            {
                return pipMatList;
            }
            set
            {
                pipMatList = value;
                RaisePropertyChanged();
            }
        }
        public List<SelectListItem> DetectDirectionList
        {
            get
            {
                return detectDirectionList;
            }
            set
            {
                detectDirectionList = value;
                RaisePropertyChanged();
            }
        }
        public List<SelectListItem> DetectMethodList
        {
            get
            {
                return detectMethodList;
            }
            set
            {
                detectMethodList = value;
                RaisePropertyChanged();
            }
        }
        public List<SelectListItem> DefectTypeList
        {
            get
            {
                return defectTypeList;
            }
            set
            {
                defectTypeList = value;
                RaisePropertyChanged();
            }
        }
        public List<SelectListItem> DefectNameList
        {
            get
            {
                return defectNameList;
            }
            set
            {
                defectNameList = value;
                RaisePropertyChanged();
            }
        }


        private List<SelectListItem> startWellFuncTypeList;
        private List<SelectListItem> startWellMatList;
        private List<SelectListItem> defectNameList;
        private List<SelectListItem> defectTypeList;
        private List<SelectListItem> detectMethodList;
        private List<SelectListItem> detectDirectionList;
        private List<SelectListItem> pipMatList;
        private List<SelectListItem> pipTypeList;
        private List<SelectListItem> endWellProblemList;
        private List<SelectListItem> endWellMatList;
        private List<SelectListItem> endWellFuncTypeList;
        private List<SelectListItem> endWellTypeList;
        private List<SelectListItem> startWellProblemList;
    }
}
